﻿using DotNetCore.CAP;

namespace CapHttp.Core;

public class DistributedEventSubscribeAttribute : Attribute
{
    internal Type? Type { get; private set; }
    internal string? Name { get; private set; }
    internal string? Group { get; set; }

    public DistributedEventSubscribeAttribute()
    {
        
    }

    public DistributedEventSubscribeAttribute(string name)
    {
        Name = name;
    }

    public DistributedEventSubscribeAttribute(Type type)
    {
        Type = type;
    }
}